package com.weitu.permission.authority.service;

import com.weitu.permission.authority.entity.AuthorityGroup;

import java.util.List;
import java.util.Map;


public interface AuthorityGroupService {

    //根据id查询权限组实体
    AuthorityGroup selectAuthorityGroupById(String id);

    //根据code查询权限组
    AuthorityGroup selectAuthorityGroupByCode(String Code);

    //根据id删除权限组
    int deleteById(String id);

    //插入新权限组全部字段
    int insert(AuthorityGroup authorityGroup);

    //选择性插入新权限组
    int insertSelective(AuthorityGroup authorityGroup);

    // 根据id更新权限组
    int updateByIdSelective(AuthorityGroup authorityGroup);

    //查询列表数据
    List< AuthorityGroup> queryList(Map map);

    //查询权限组数据未分页
    List<AuthorityGroup> getAuthorityGroupList();

    // 查询列表总数量
    int queryCount(Map map);

}
